import { hasAtomicPermission } from "@/utils/auth";

export function hasOrgPermission() {
  const hasAdd = hasAtomicPermission("ZJXCA00968");
  const hasUpdate = hasAtomicPermission("ZJXCA00969");
  const hasDelete = hasAtomicPermission("ZJXCA00970");
  const hasSelect = hasAtomicPermission("ZJXCA00971");

  return {
    hasAdd,
    hasUpdate,
    hasDelete,
    hasSelect
  };
}
